package cn.youqu.happy.module.member.controller.admin.user.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.youqu.happy.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.youqu.happy.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 用户 Excel 导出 Request VO", description = "参数和 UserPageReqVO 是一致的")
@Data
public class UserExportReqVO {

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始创建时间")
    private Date beginCreateTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束创建时间")
    private Date endCreateTime;

}
